package Model;

import java.util.Date;
import java.util.List;

/**
 * @author zyp
 * date 2022-03-08
 */
public class Article {
    private int id;
    private String article_title;
    private String article_content;
    private Date article_date;
    private String article_description;
    private int article_count_read;
    private int article_user_id;
    private String[] tags;
    private int article_tag_id;
    private String dateString;

    public String getDateString() {
        return dateString;
    }

    public void setDateString(String dateString) {
        this.dateString = dateString;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getArticle_title() {
        return article_title;
    }

    public void setArticle_title(String article_title) {
        this.article_title = article_title;
    }

    public String getArticle_content() {
        return article_content;
    }

    public void setArticle_content(String article_content) {
        this.article_content = article_content;
    }

    public Date getArticle_date() {
        return article_date;
    }

    public void setArticle_date(Date article_date) {
        this.article_date = article_date;
    }

    public String getArticle_description() {
        return article_description;
    }

    public void setArticle_description(String article_description) {
        this.article_description = article_description;
    }

    public int getArticle_count_read() {
        return article_count_read;
    }

    public void setArticle_count_read(int article_count_read) {
        this.article_count_read = article_count_read;
    }

    public int getArticle_user_id() {
        return article_user_id;
    }

    public void setArticle_user_id(int article_user_id) {
        this.article_user_id = article_user_id;
    }

    public int getArticle_tag_id() {
        return article_tag_id;
    }

    public void setArticle_tag_id(int article_tag_id) {
        this.article_tag_id = article_tag_id;
    }

    @Override
    public String toString() {
        return "Article{" +
                "id=" + id +
                ", article_title='" + article_title + '\'' +
                ", article_content='" + article_content + '\'' +
                ", article_date=" + article_date +
                ", article_description='" + article_description + '\'' +
                ", article_count_read=" + article_count_read +
                ", article_user_id=" + article_user_id +
                ", article_tag_id=" + article_tag_id +
                '}';
    }

    public String[] getTags() {
        return tags;
    }

    public void setTags(String[] tags) {
        this.tags = tags;
    }
}
